package Com.amit.corejava;

public class Lab124  extends Thread{
	
	@Override
	public void run() {
		
		for(int i=1;i<=5;i++)
		{
		try
		{
			Thread.sleep(1000);
			
		}
		catch (Exception e) {
			e.printStackTrace();
		}
		System.out.println(i);
		}
	}

	public static void main(String[] args)
	{
		
		Lab124 l1=new Lab124();
		Lab124 l2=new Lab124();
		
		l1.start();
		l2.start();
		

	}

}
